package com.zmn.oms.model.entity.work;

import com.zmn.oms.model.es.ZmnEsFieldType;
import com.zmn.oms.model.es.ZmnToEs;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 类描述：同步es 查询工单
 *
 * @author lujia
 * @date 2018/11/23 20:01
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class OrderWorkFactoryPartPostQuery {

    /**
     * 邮寄状态(厂商配件)
     */
    @ZmnToEs(map = "factoryPartPostList.postStatus", type = ZmnEsFieldType.Integer)
    private Integer postStatus;

    /**
     * 邮寄状态(厂商配件)
     */
    @ZmnToEs(map = "factoryPartPostList.postStatus", type = ZmnEsFieldType.Arr)
    private List<Integer> postStatusList;

    /**
     * 邮寄类型(厂商配件)
     */
    @ZmnToEs(map = "factoryPartPostList.postType",  type = ZmnEsFieldType.Integer)
    private Integer postType;

    /**
     * 邮寄类型(厂商配件)
     */
    @ZmnToEs(map = "factoryPartPostList.postType", type = ZmnEsFieldType.Arr)
    private List<Integer> postTypeList;
}
